package com.pubinfo.passbook.common.model.dto.contract;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "InvoiceCancelParam", description = "取消参数")
public class InvoiceCancelParam {

    @ApiModelProperty(value = "发票ID")
    @NotNull(message = "发票ID不可为空")
    private String invoiceId;

    @ApiModelProperty(value = "取消原因")
    @NotEmpty(message = "取消原因不可为空")
    private String remark;

}
